using System.ServiceModel.Channels;

namespace WcfExtensions.ServiceModel.Channels
{
    internal class CompressionDuplexSessionChannel : CompressionDuplexChannel<IDuplexSessionChannel>,
                                                     IDuplexSessionChannel
    {
        public CompressionDuplexSessionChannel(ChannelManagerBase channelManagerBase, IDuplexSessionChannel innerChannel)
            : base(channelManagerBase, innerChannel)
        {
        }

        #region IDuplexSessionChannel Members

        public IDuplexSession Session
        {
            get { return InnerChannel.Session; }
        }

        #endregion
    }
}